import java.util.*;

public class Event implements Format {
	private Date date;
	private String description;

	public Event() {
		date = new Date();
		description = "";
	}

	public Event(Event tmp) {
		date = tmp.date;
		description = tmp.description;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return format.format(getDate()) + " - " + getDescription();
	}
}
